#pragma once

#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include<string.h>

void PrintArray(int* a, int n);

void InsertSort(int* a, int n);

void ShellSort(int* a, int n);

void Swap(int* p1, int* p2);

void SelectSort(int* a, int n);

void AdjustDown(int* a, int n, int parent);

void HeapSort(int* a, int n);

void BubbleSort(int* a, int n);

void QuickSort(int* a, int left,int right);

void QuickSortNonR(int* a, int left,int right);

void MergeSort(int* a, int n);

void MergeSortNonR(int* a, int n);

void CountSort(int* a, int n);
